package com.yzpc.mapper;

import com.yzpc.entity.News;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NewsMapper {
    @Select("SELECT * from news")
    List<News> findAll();
}
